<template>
<el-container class="home-container">
  <el-header>
    <eduHeader></eduHeader>
  </el-header>
  <el-main>
    <router-view />
  </el-main>
  <el-footer>
    <eduFooter></eduFooter>
  </el-footer>
</el-container>
</template>

<script>
import { ref } from 'vue';
import eduHeader from './components/common/EduHeader.vue';
import eduFooter from './components/common/EduFooter.vue';

export default({
  name: 'app',
  components: { eduHeader, eduFooter },
  setup() {
    const isCollapse = ref(false);
    return {
      isCollapse
    }
  }
})
</script>


<style scoped>
.el-header {
  width: 100%;
  text-align: center;
  line-height: 60px;
  color: #c9c9dd;
  background: #121313;
  font-size: 14px;
}
.el-footer {
  line-height: 40px;
  --el-footer-height: 40px;
}
.home-container {
  height: 100%;
}
.home-container > .el-main {
  height: calc(100% - 100px);
  width: 100%;
  background-color: #d4d8dcad;
  padding: 20px;
}
</style>>